export const model = {
	caption: '编辑表单内置功能',
	title: '图书编辑视图（内置功能）',
	capPSLanguageRes: 'MENUITEM.CAPTION.ENTITYEDITVIEW',
	titlePSLanguageRes: 'PAGE.TITLE.IBIZBOOK.INTERFUNCEDITVIEW',
	showDataInfoBar: true,
	codeName: 'IBIZBOOKInterFuncEditView',
	ctrls: [
		{
			name: 'toolbar',
			codeName: 'InterFuncEditViewtoolbar',
			controlType: 'TOOLBAR',
		},
		{
			name: 'form',
			codeName: 'InterFuncForm',
			controlType: 'FORM',
		},
	],
	cssName: 'view-red-title',
	name: 'IBIZBOOKInterFuncEditView',
	viewType: 'DEEDITVIEW',
	viewStyle: 'DEFAULT',
	showCaption: true,
	isLoadDefault: true,
	entityCodeName: 'IBIZBOOK',
	keyPSAppDEField: 'IBIZBOOKId',
	majorPSAppDEField: 'IBIZBOOKName',
	expandSearchForm: false,
	toolbarItems: [
		{
			actionLevel: '100',
			caption: '新建',
			captionLanResTag: 'TBB.TEXT.*.NEW',
			name: 'deuiaction1',
			showCaption: true,
			tooltip: '新建',
			tooltipLanResTag: 'TBB.TOOLTIP.*.NEW',
			itemType: 'DEUIACTION',
			showIcon: true,
			disabled: false,
			cssName: '',
			imagePath: '',
			iconCls: 'fa fa-file-text-o',
			imagePathX: '',
			dataAccessAction: '',
			noPrivDisplayMode: 2,
			uiAction: {
				codeName: 'New',
				uIActionMode: 'SYS',
				actionTarget: '',
				uIActionTag: 'New',
				uIActionType: 'DEUIACTION',
			},
			logic: {
				name: 'toolbar_deuiaction1_click',
				actionTag: 'New',
				xDataCtrlName: 'form',
				predefinedType: 'EDITVIEW_NEWACTION',
			},
		},
		{
			actionLevel: '100',
			caption: '保存',
			captionLanResTag: 'TBB.TEXT.*.SAVE',
			name: 'tbitem3',
			showCaption: true,
			tooltip: '保存',
			tooltipLanResTag: 'TBB.TOOLTIP.*.SAVE',
			itemType: 'DEUIACTION',
			showIcon: true,
			disabled: false,
			cssName: 'deepskyblueToolBar',
			imagePath: '',
			iconCls: 'fa fa-save',
			imagePathX: '',
			dataAccessAction: '',
			noPrivDisplayMode: 2,
			uiAction: {
				codeName: 'Save',
				uIActionMode: 'SYS',
				actionTarget: '',
				uIActionTag: 'Save',
				uIActionType: 'DEUIACTION',
			},
			logic: {
				name: 'toolbar_tbitem3_click',
				actionTag: 'Save',
				xDataCtrlName: 'form',
				predefinedType: 'EDITVIEW_SAVEACTION',
			},
		},
		{
			actionLevel: '250',
			caption: '保存并关闭',
			captionLanResTag: 'TBB.TEXT.EDITVIEW.SAVEANDCLOSE',
			name: 'tbitem5',
			showCaption: true,
			tooltip: '保存并关闭',
			tooltipLanResTag: 'TBB.TOOLTIP.EDITVIEW.SAVEANDCLOSE',
			itemType: 'DEUIACTION',
			showIcon: true,
			disabled: false,
			cssName: '',
			imagePath: '',
			iconCls: 'ivu-icon ivu-icon-ios-battery-dead',
			imagePathX: '',
			dataAccessAction: '',
			noPrivDisplayMode: 2,
			uiAction: {
				codeName: 'SaveAndExit',
				uIActionMode: 'SYS',
				actionTarget: '',
				uIActionTag: 'SaveAndExit',
				uIActionType: 'DEUIACTION',
			},
			logic: {
				name: 'toolbar_tbitem5_click',
				actionTag: 'SaveAndExit',
				xDataCtrlName: 'form',
				predefinedType: 'EDITVIEW_SAVEANDEXITACTION',
			},
		},
		{
			name: 'tbitem8',
			itemType: 'SEPERATOR',
		},
		{
			actionLevel: '100',
			caption: '打印',
			captionLanResTag: 'TBB.TEXT.*.PRINT',
			name: 'tbitem15',
			showCaption: true,
			tooltip: '打印',
			tooltipLanResTag: 'TBB.TOOLTIP.*.PRINT',
			itemType: 'DEUIACTION',
			showIcon: true,
			disabled: false,
			cssName: '',
			imagePath: '',
			iconCls: 'fa fa-print',
			imagePathX: '',
			dataAccessAction: '',
			noPrivDisplayMode: 2,
			uiAction: {
				codeName: 'Print',
				uIActionMode: 'SYS',
				actionTarget: 'SINGLEKEY',
				uIActionTag: 'Print',
				uIActionType: 'DEUIACTION',
			},
			logic: {
				name: 'toolbar_tbitem15_click',
				actionTag: 'Print',
				xDataCtrlName: 'form',
				predefinedType: 'EDITVIEW_PRINTACTION',
			},
		},
	],
	xDataCtrlName: 'form',
	useDefaultLayout: true,
	quickSearchPlaceholder: '图书名称,',
};
